<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 李洪均
  Date: 2023/4/26
  Time: 10:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/update" method="post">
    <input type="hidden" name="id" value="${model.id}">
    <div>品牌名称:<input type="text" name="brandName" value="${model.brandName}"></div>
    <div>企业名称:<input type="text" name="enterpriseName" value="${model.enterpriseName}"></div>
    <div>排序:<input type="text" name="sort"  value="${model.sort}"></div>
    <div>品牌介绍:<textarea name="introduce"  value="${model.introduce}"></textarea></div>
    <div>转态:
        <c:if test="${model.status==1}">
            <label><input type="radio" name="status" checked value="1">启用</label>
            <label><input type="radio" name="status" value="0">禁用</label>
        </c:if>
        <c:if test="${model.status==0}">
            <label><input type="radio" name="status" value="1">启用</label>
            <label><input type="radio" name="status" checked value="0">禁用</label>
        </c:if>
    </div>
    <div><input type="submit" value="提交"></div>
</form>
</body>
</html>
